package com.zlp.dto.resource2;

import com.zlp.dto.resource.ResourceDetailResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;


@Data
@ApiModel(value = "资源位返回参数")
public class ResourceResp implements Serializable {


    @ApiModelProperty(value = "组件对应资源位信息")
    public Map<Integer, List<ResourceDetailResp>> resourceMap = new HashMap<>();

    @ApiModelProperty(value = "组件类型 (10:图片-Banner位; " +
            "20:标题-标题文本; " +
            "30:魔方-活动魔方-1排2个;31:魔方-活动魔方-1排1个;32:魔方-活动魔方-1排N个;33:魔方-活动魔方-1左2右; " +
            "40:话题-社区话题;" +
            "50:图片-产品Banner;" +
            "60:魔方-商品长图;" +
            "70:商品-商品图+商品信息;" +
            "80:魔方-商品长图;" +
            "90:商品-活动商品)")
    public Integer componentType ;











}
